The sExec component is designed to allow simple access to other programs in a
Windows environment. Using the Execute method starts up the program named in the
PgmName property with the PgmParams property as a parameter. The program window
is shown in the state specified in the Show property. By setting the Switch2
property the Execute behavior is modified to scan for and activate existing
instances of the program before attempting to start the program from scratch.

INSTALLATION:
1. The source for the component registration is included so you can decide
   which tab on the toolbar it will reside on (The default is TeAMH).
2. Backup COMPLIB.DCL or start a new library file.
3. Select or create a directory for the TsExec component. Unzip SEXEC.ZIP into
   this directory.
4. From the Delphi IDE, choose Options|Install Components. In the dialog,
   choose the Add... button. In the Add Module dialog use the Browse button to
   find REGSEXEC.PAS. Click OK to add the correct path to the Search Path edit
   box and to add the TsExec component to the Installed Units listbox.
5. Click OK in the Install Components dialog to complete the installation. The
   TsExec icon will appear on the chosen component toolbar tab.

USE:
The sExec component has the following properties:
(Read/Write at design and/or runtime)
Name:     Standard Delphi name
PgmName:  String specifying the desired program name (including path)
PgmParams:String specifying any program parameters (optional)
Show:     Allows selection of how the program window is shown on creation or
          activation (Maximized, Minimized, Normal)
Switch2:  Boolean if true scans for existing instance and switches to any such
          instance
Tag:      Standard Delphi tag

(Read at runtime)
Instance: Returns the window instance number of the started program or
          zero if there is any error
RCode:    Returns any Windows error code (NB Zero is a Windows error code)
RStr:     Returns an English error message corresponding to RCode.

The sExec component has one public method: Execute

EXAMPLE:
Add an sExec component to the form. This is automatically given the name sExec1
if it is the first component of its kind on the form.
Set PgmName to C:\WINDOWS\NOTEPAD.EXE
Set PgmParams to C:\WINDOWS\WIN.INI
Add a button to the form and set it's OnClick event to: sExec1.Execute;
Compile, run and click the button.
If NOTEPAD.EXE exist in your C:\WINDOWS directory it will be started and loaded
with WIN.INI.

FINE PRINT:
- This software is without warranty of any kind!

- This is a shareware product. This allows you to try the software before you
  buy it. If after evaluating this software, you decide to continue using it,
  you are required to register this component by remitting the registration fee.
  10 USD at GO SWREG #11231 

- Registering this component entitles you to free upgrades during one year and
  allows us to continue creating and improving useful Delphi components.

- Any and all comments and/or suggestions are welcomed!

TeAM Hutchins AB
Rdjursvgen 28
466 32 Sollebrunn, Sweden
Tel +46 3 229 3993
Fax +46 3 229 3995
CID 100432,577